package com.desaysv.wandroid.ui.main.mvp;

import android.util.Log;

import androidx.annotation.NonNull;

import com.desaysv.svhttp.callback.IRequestCallBack;
import com.desaysv.wandroid.http.HttpManager;

/**
 * @author linzi
 * @date 2022-11-10
 */
public class MainModel implements MainContract.IMainModel {
    private static final String TAG = "MainModel";

    public MainModel() {
        Log.e(TAG, "MainModel: 初始化");
    }

    @Override
    public void refreshData(int page, @NonNull IRequestCallBack requestCall) {
        HttpManager.INSTANCE.getService().getArticleList(0, requestCall);
    }
}
